package com.drama.api.sys.organization.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class SysOrganizationSearchVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "搜索名字")
    private String searchName;

    @ApiModelProperty(value = "当前用户机构Id",hidden = true)
    private String sysUserOrgId;

    @ApiModelProperty(value = "页数")
    private Integer pageNum;

    @ApiModelProperty(value = "每页行数")
    private Integer pageSize;

    public Integer getPageNum() {
        if (pageNum == null) {
            pageNum = 1;
        }
        return pageNum;
    }
    public Integer getPageSize() {
        if (pageSize == null) {
            pageSize = 100;
        }
        return pageSize;
    }



}